<template>
    <div class="container" :style="'min-height: '+$docHeight+'px'">
        <div v-if="!showTimeOut&&showCont">
            <div class="msgCont">
                <div class="msgItem" :key="index" v-for="(item,index) in 10">
                    <div class="msgHead">
                        <div class="headIcon">
                            <div class="iconfont icon-dizhi-4"></div>
                        </div>
                        <div class="headName">挂号成功通知</div>
                        <div class="headTime">1分钟前</div>
                    </div>
                    <div class="msgDes">您有一笔门诊待支付订单,订单将在30内自动取消请及时支付。</div>
                    <div class="msgUnder">
                        <div class="msgUnderLeft">查看详情</div>
                        <div class="iconfont icon-jiantou"></div>
                    </div>
                </div>
            </div>
            <footcpm></footcpm>
        </div>
    </div>
</template>
<script>
  import footcpm from '@/components/footcpm.vue'

    export default {
        components: {footcpm},
        name:'',
        data() {
            return {
                showTimeOut:false,
                showCont:false,
            }
        },
        props: {},
        setup(){},
        methods:{},
        mounted(){},
        created() {
            this.showCont=  true
        },
    }
</script>
<style scoped lang="less">
 .container {
    padding-bottom: 3rem;
    box-sizing: border-box;
    background-color: #ebf9f3;
    padding-top: 0.75rem;
    .msgCont{
        width: 92%;
        margin: 0 auto;
        .msgItem{
            background-color: #fff;
            border-radius: 0.25rem;
            padding: 0.75rem 4%;
            box-sizing: border-box;
            margin-bottom: 0.75rem;
            .msgHead{
                width: 100%;
                display: flex;
                align-items: center;
                .headIcon{
                    width: 1.5rem;
                    height: 1.5rem;
                    background-color: #5cc78e;
                    color: #fff;
                    text-align: center;
                    border-radius: 50%;
                    text-align: center;
                    line-height: 1.5rem;
                }
                .headName{
                    flex: 1;
                    width: 1rem;
                    font-size: 0.8rem;
                    font-weight: bold;
                    margin: 0 0.75rem;
                }
                .headTime{
                    color: #666;
                    font-size: 0.6rem;
                }
            }
            .msgDes{
                color: #666;
                font-size: 0.6rem;
                padding: 0.75rem 0;
            }
            .msgUnder{
                padding-top: 0.75rem;
                display: flex;
                align-items: center;
                justify-content: space-between;
                font-size: 0.6rem;
                border-top: 1px dashed #ccc;
                .iconfont{
                    color: #666;
                }
            }
        }

    }
 }
</style>